/*
 * CometChat 
 * Copyright (c) 2014 Inscripts - support@cometchat.com | http://www.cometchat.com | http://www.inscripts.com
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

html, body {
	background: <?php echo $themeSettings['tab_background'];?>;
	direction: <?php echo $dir;?>;
	/*overflow-x: hidden;*/
	height: 480px;
}

.chat {
	font-family: <?php echo $themeSettings['tab_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_font_size'];?>;
	color: <?php echo $themeSettings['tab_color'];?>;
	padding-top: 7px;
	padding-bottom: 7px;
	border-bottom: 1px solid <?php echo $themeSettings['tab_border_light'];?>;
	display: block;
	width: 99%;
	cursor:pointer;
}

.chat a {
	text-decoration: none;
	color: <?php echo $themeSettings['tab_link_color'];?>;
}

.chatrequest {
	float: <?php echo $left;?>;
	width: 101px;
	text-overflow: ellipsis;
	padding-<?php echo $left;?>: 5px;
	height: 17px;
	overflow: hidden;
	white-space:nowrap;
}

.chatmessage_short {
	width: 360px !important;
	word-wrap: break-word;
}

.chatmessage {
	float: <?php echo $left;?>;
	max-width: 400px;
}

.chattime {
	font-size: <?php echo $themeSettings['tab_font_size_small'];?>;
	float: <?php echo $right;?>;
	text-align: right;
	padding-right: 10px;
}

.chattimedate{
    <?php if($rtl) :?>
    float: left;
    <?php endif;?>
}

.chat:hover {
	background-color: <?php echo $themeSettings['tab_title_backgroud_light'];?>;
}

.chatnoline {
	border-bottom: 0px !important;
	cursor:default;
}

.chattopline {
	border-top: 1px solid <?php echo $themeSettings['tab_border_light'];?>;
}

.chatnowrap {
	height: default;
}

.chatbar {
	font-weight: bold;
	background-color: <?php echo $themeSettings['tab_sub_background'];?>;
	border-bottom: 1px solid <?php echo $themeSettings['tab_border_light'];?>;
	font-family: <?php echo $themeSettings['tab_title_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_title_font_size_large'];?>;
	color: <?php echo $themeSettings['tab_sub_color'];?>;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-left: 7px;
}

.chathistory {
	font-weight: bold;
	background-color: <?php echo $themeSettings['tab_sub_background'];?>;
	border-bottom: 1px solid <?php echo $themeSettings['tab_border_light'];?>;
	font-family: <?php echo $themeSettings['tab_title_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_title_font_size_large'];?>;
	color: <?php echo $themeSettings['tab_sub_color'];?>;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-left: 7px;
	cursor: pointer;
	text-align: center;
}

.arrowdown {
	width: 0; 
	height: 0; 
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;	
	border-top: 6px solid <?php echo $themeSettings['tab_sub_color'];?>;
	position: relative;
	top: 11px;
	left: 10px;
}

.chatbar a {
	color: <?php echo $themeSettings['tab_sub_color'];?>;
}

 
body {
	
}

.chatbar_1 {
	float: left;
}

.chatbar_2 {
	float: right;
	padding-right: 7px;
}	


.container {
	width: 98%;
	margin: 0 auto;
	margin-top: 5px;
}

.container_title {
	background-color: <?php echo $themeSettings['tab_title_background'];?> !important;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $themeSettings['tab_title_gradient_start'];?>', endColorstr='<?php echo $themeSettings['tab_title_gradient_end'];?>');
	background: -webkit-gradient(linear, left top, left bottom, from(<?php echo $themeSettings['tab_title_gradient_start'];?>), to(<?php echo $themeSettings['tab_title_gradient_end'];?>));
	background: -moz-linear-gradient(top, <?php echo $themeSettings['tab_title_gradient_start'];?>, <?php echo $themeSettings['tab_title_gradient_end'];?>);
	background: -ms-linear-gradient(top, <?php echo $themeSettings['tab_title_gradient_start'];?>, <?php echo $themeSettings['tab_title_gradient_end'];?>);
	background: -o-linear-gradient(top, <?php echo $themeSettings['tab_title_gradient_start'];?>, <?php echo $themeSettings['tab_title_gradient_end'];?>);
	border-left: 1px solid <?php echo $themeSettings['tab_title_border'];?>;
	border-right: 1px solid <?php echo $themeSettings['tab_title_border'];?>;
	border-top: 1px solid <?php echo $themeSettings['tab_title_border'];?>;
	color: <?php echo $themeSettings['tab_title_color'];?>;
	padding:5px;
	font-weight:bold;
	font-family: <?php echo $themeSettings['tab_title_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_title_font_size_large'];?>;
	padding-left:10px;
	padding-bottom:6px;
	text-shadow: 1px 1px 0 <?php echo $themeSettings['tab_title_text_background'];?>;
}

.container_body {
	border-left: 1px solid <?php echo $themeSettings['tab_border'];?>;
	border-bottom: 1px solid <?php echo $themeSettings['tab_border'];?>;
	border-right: 1px solid <?php echo $themeSettings['tab_border'];?>;
	background-color: <?php echo $themeSettings['tab_background'];?>;
	color: <?php echo $themeSettings['tab_color'];?>;
	font-weight:normal;
	font-family: <?php echo $themeSettings['tab_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_font_size'];?>;
	margin-bottom:10px;
}

.container_body_chat {
	width:auto !important;
}

.container_body.embed {
	border: 0px;
}

.container_title.embed {
	display: none;
}

.norecords {
	overflow:visible !important;
	text-align: left;
	font-family: <?php echo $themeSettings['tab_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_font_size'];?>;
	color: <?php echo $themeSettings['tab_color'];?>;
	float:left;
	width: 310px;
	line-height:25px;
	margin-left: 10px;
	text-transform: capitalize;
	padding: 24px 8px;
}

.norecord {
	overflow:visible !important;
	text-align: center;
	font-family: <?php echo $themeSettings['tab_font_family'];?>;
	font-size: <?php echo $themeSettings['tab_font_size'];?>;
	color: <?php echo $themeSettings['tab_color'];?>;
	line-height:25px;
	margin-left: 10px;
	text-transform: capitalize;
	padding: 8px 8px;
}

.cometchat_smiley {	
	vertical-align: -6px;
	display:inline-block;
}

.file_image {
	max-width:125px;
	max-height:170px;
}

.file_video {
	max-width:125px;
	max-height:170px;
	min-height:120px;
}

.imagemessage {
	display: inline-block;
	margin-bottom: 3px;
	margin-top: 3px;
}